<div class="subcolumns">
  <div class="c75l">

    <h1 id="page_head">Add new attribute group</h1>
 
    <div>&nbsp;</div>

    <?php if(count($this->error) > 0): ?>
    <div id="error" aria-live="rude">
        <h2>Error:</h2>
        <?php foreach($this->error as $error): ?>
            <h3><?php echo $escape->escapeHtmlAttr($error); ?></h3>
        <?php endforeach; ?>
    </div>
    <?php endif; ?>

    <form name="setup" id="setup" method="post" action="<?php echo $basePath; ?>/<?php echo $adminAreaToken; ?>/attribute-group-add/add" accept-charset="utf-8">

    <ul class="ul-form" role="slider">

        <li class="item_label"><h2><label for="attribute_group_id_table" id="is">Attribute group area:</label></h2></li>
        <li class="item_content">
                    <select name="attribute_group_id_table" id="attribute_group_id_table" size="1">
                    <option value="1"<?php if($attribute_group_id_table==1): ?> selected="selected" class="selected"<?php endif; ?>>Record&nbsp;&nbsp;</option>
                    <option value="2"<?php if($attribute_group_id_table==2): ?> selected="selected" class="selected"<?php endif; ?>>List&nbsp;&nbsp;</option>
                    <option value="3"<?php if($attribute_group_id_table==3): ?> selected="selected" class="selected"<?php endif; ?>>Item&nbsp;&nbsp;</option>
                    <option value="4"<?php if($attribute_group_id_table==4): ?> selected="selected" class="selected"<?php endif; ?>>Keyword&nbsp;&nbsp;</option>
                    </select>
        </li>

        <li class="item_label"><h2><label for="attribute_group_name" id="agn">Attribute group name:</label></h2></li>
        <li class="item_content">
                <input aria-required="true" 
                       aria-labelledby="agn"
                       name="attribute_group_name" 
                       id="attribute_group_name" 
                       tabindex="1"
                       type="text" 
                       size="40" 
                       maxlength="255" 
                       value="<?php echo $escape->escapeHtmlAttr($attribute_group_name); ?>" />
        </li>

        <li class="item_label"><h2><label for="attribute_group_description" id="agd">Attribute group description:</label></h2></li>
        <li class="item_content">
                <textarea name="attribute_group_description" 
                          id="attribute_group_description" 
                          aria-labelledby="agd"
                          tabindex="2"
                          cols="50" 
                          rows="5"><?php echo $escape->escapeHtmlAttr($attribute_group_description); ?></textarea>
        </li>

        <li class="item_label"><h2><label for="submit" id="sub">Submit new group or cancel:</label></h2></li>
        <li class="item_content">
            <input role="button" 
                   aria-labelledby="sub"
                   tabindex="3"
                   type="submit" 
                   name="add" 
                   id="submit" 
                   value="Submit" />

            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  

            <input role="button" 
                   tabindex="4"
                   aria-labelledby="sub"
                   type="submit" 
                   name="cancel" 
                   id="cancel" 
                   value="Cancel" />
        </li>
    </ul>

    </form>

  </div>
  
  <div class="c25r right_navigation">
      <?php $partialData['basePath'] = $basePath; $partialData['adminAreaToken'] = $adminAreaToken; ?>
      
      <?php echo $this->partial('layout/_attribute_group_navigation.phtml', 
                                $partialData); ?>
  </div>
</div>